package com.whq.thrift.api.web.admin.service.config;

import java.util.List;
import java.util.Map;

import com.whq.thrift.api.web.admin.db.config.Config;

public interface ConfigService {
	public void addRecord(Config config);

	public List<Config> findRecordsByMap(Map<String, Object> whereParams, int beginIndex, int maxCount);

	public void updateRecord(Config record);

	public void deleteRecord(String id);

	public int findRecordCount(Map<String, Object> whereParams);

	public Config findRecordByKey(String id);
}
